﻿using System;

namespace IMaverick.Physics.Extensions
{
    public static partial class DoubleExtensions
    {
        public static PhysicalValue<Angle> degree(this Double operand)
        {
            return new PhysicalValue<Angle>(operand, Angle.Degree);
        }
        public static PhysicalValue<Angle> rad(this Double operand)
        {
            return new PhysicalValue<Angle>(operand, Angle.Radian);
        }
        public static PhysicalValue<Angle> gon(this Double operand)
        {
            return new PhysicalValue<Angle>(operand, Angle.Grade);
        }
        public static PhysicalValue<Angle> brad(this Double operand)
        {
            return new PhysicalValue<Angle>(operand, Angle.Brad);
        }
    }
}
